import http from "@/http"
import type { Suggestion } from "./suggestionTable"

//添加
export const addSuggestionApi  = (parm:Suggestion)=>{
    return http.post("/api/suggest/addsuggest",parm)
}
//获取反馈
export const getSuggestionApi  = (parm:any)=>{
    return http.post("/api/suggest/getsuggest",parm)
}
//取消反馈
export const cancelSuggestionApi = (parm:any) => {
    return http.post("/api/suggest/cancelsuggest", parm)
}
